package com.car.entity;

import java.util.ArrayList;
import java.util.List;

public class PowerSystemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PowerSystemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDisplacementIsNull() {
            addCriterion("displacement is null");
            return (Criteria) this;
        }

        public Criteria andDisplacementIsNotNull() {
            addCriterion("displacement is not null");
            return (Criteria) this;
        }

        public Criteria andDisplacementEqualTo(Integer value) {
            addCriterion("displacement =", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementNotEqualTo(Integer value) {
            addCriterion("displacement <>", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementGreaterThan(Integer value) {
            addCriterion("displacement >", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementGreaterThanOrEqualTo(Integer value) {
            addCriterion("displacement >=", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementLessThan(Integer value) {
            addCriterion("displacement <", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementLessThanOrEqualTo(Integer value) {
            addCriterion("displacement <=", value, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementIn(List<Integer> values) {
            addCriterion("displacement in", values, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementNotIn(List<Integer> values) {
            addCriterion("displacement not in", values, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementBetween(Integer value1, Integer value2) {
            addCriterion("displacement between", value1, value2, "displacement");
            return (Criteria) this;
        }

        public Criteria andDisplacementNotBetween(Integer value1, Integer value2) {
            addCriterion("displacement not between", value1, value2, "displacement");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerIsNull() {
            addCriterion("maximum_power is null");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerIsNotNull() {
            addCriterion("maximum_power is not null");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerEqualTo(Integer value) {
            addCriterion("maximum_power =", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerNotEqualTo(Integer value) {
            addCriterion("maximum_power <>", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerGreaterThan(Integer value) {
            addCriterion("maximum_power >", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerGreaterThanOrEqualTo(Integer value) {
            addCriterion("maximum_power >=", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerLessThan(Integer value) {
            addCriterion("maximum_power <", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerLessThanOrEqualTo(Integer value) {
            addCriterion("maximum_power <=", value, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerIn(List<Integer> values) {
            addCriterion("maximum_power in", values, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerNotIn(List<Integer> values) {
            addCriterion("maximum_power not in", values, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerBetween(Integer value1, Integer value2) {
            addCriterion("maximum_power between", value1, value2, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerNotBetween(Integer value1, Integer value2) {
            addCriterion("maximum_power not between", value1, value2, "maximumPower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerIsNull() {
            addCriterion("maximum_horsepower is null");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerIsNotNull() {
            addCriterion("maximum_horsepower is not null");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerEqualTo(Integer value) {
            addCriterion("maximum_horsepower =", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerNotEqualTo(Integer value) {
            addCriterion("maximum_horsepower <>", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerGreaterThan(Integer value) {
            addCriterion("maximum_horsepower >", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerGreaterThanOrEqualTo(Integer value) {
            addCriterion("maximum_horsepower >=", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerLessThan(Integer value) {
            addCriterion("maximum_horsepower <", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerLessThanOrEqualTo(Integer value) {
            addCriterion("maximum_horsepower <=", value, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerIn(List<Integer> values) {
            addCriterion("maximum_horsepower in", values, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerNotIn(List<Integer> values) {
            addCriterion("maximum_horsepower not in", values, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerBetween(Integer value1, Integer value2) {
            addCriterion("maximum_horsepower between", value1, value2, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumHorsepowerNotBetween(Integer value1, Integer value2) {
            addCriterion("maximum_horsepower not between", value1, value2, "maximumHorsepower");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedIsNull() {
            addCriterion("maximum_power_speed is null");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedIsNotNull() {
            addCriterion("maximum_power_speed is not null");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedEqualTo(String value) {
            addCriterion("maximum_power_speed =", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedNotEqualTo(String value) {
            addCriterion("maximum_power_speed <>", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedGreaterThan(String value) {
            addCriterion("maximum_power_speed >", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedGreaterThanOrEqualTo(String value) {
            addCriterion("maximum_power_speed >=", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedLessThan(String value) {
            addCriterion("maximum_power_speed <", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedLessThanOrEqualTo(String value) {
            addCriterion("maximum_power_speed <=", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedLike(String value) {
            addCriterion("maximum_power_speed like", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedNotLike(String value) {
            addCriterion("maximum_power_speed not like", value, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedIn(List<String> values) {
            addCriterion("maximum_power_speed in", values, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedNotIn(List<String> values) {
            addCriterion("maximum_power_speed not in", values, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedBetween(String value1, String value2) {
            addCriterion("maximum_power_speed between", value1, value2, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumPowerSpeedNotBetween(String value1, String value2) {
            addCriterion("maximum_power_speed not between", value1, value2, "maximumPowerSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueIsNull() {
            addCriterion("maximum_torque is null");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueIsNotNull() {
            addCriterion("maximum_torque is not null");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueEqualTo(Integer value) {
            addCriterion("maximum_torque =", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueNotEqualTo(Integer value) {
            addCriterion("maximum_torque <>", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueGreaterThan(Integer value) {
            addCriterion("maximum_torque >", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueGreaterThanOrEqualTo(Integer value) {
            addCriterion("maximum_torque >=", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueLessThan(Integer value) {
            addCriterion("maximum_torque <", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueLessThanOrEqualTo(Integer value) {
            addCriterion("maximum_torque <=", value, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueIn(List<Integer> values) {
            addCriterion("maximum_torque in", values, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueNotIn(List<Integer> values) {
            addCriterion("maximum_torque not in", values, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueBetween(Integer value1, Integer value2) {
            addCriterion("maximum_torque between", value1, value2, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueNotBetween(Integer value1, Integer value2) {
            addCriterion("maximum_torque not between", value1, value2, "maximumTorque");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedIsNull() {
            addCriterion("maximum_torque_speed is null");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedIsNotNull() {
            addCriterion("maximum_torque_speed is not null");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedEqualTo(String value) {
            addCriterion("maximum_torque_speed =", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedNotEqualTo(String value) {
            addCriterion("maximum_torque_speed <>", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedGreaterThan(String value) {
            addCriterion("maximum_torque_speed >", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedGreaterThanOrEqualTo(String value) {
            addCriterion("maximum_torque_speed >=", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedLessThan(String value) {
            addCriterion("maximum_torque_speed <", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedLessThanOrEqualTo(String value) {
            addCriterion("maximum_torque_speed <=", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedLike(String value) {
            addCriterion("maximum_torque_speed like", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedNotLike(String value) {
            addCriterion("maximum_torque_speed not like", value, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedIn(List<String> values) {
            addCriterion("maximum_torque_speed in", values, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedNotIn(List<String> values) {
            addCriterion("maximum_torque_speed not in", values, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedBetween(String value1, String value2) {
            addCriterion("maximum_torque_speed between", value1, value2, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andMaximumTorqueSpeedNotBetween(String value1, String value2) {
            addCriterion("maximum_torque_speed not between", value1, value2, "maximumTorqueSpeed");
            return (Criteria) this;
        }

        public Criteria andAlimentationIsNull() {
            addCriterion("alimentation is null");
            return (Criteria) this;
        }

        public Criteria andAlimentationIsNotNull() {
            addCriterion("alimentation is not null");
            return (Criteria) this;
        }

        public Criteria andAlimentationEqualTo(String value) {
            addCriterion("alimentation =", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationNotEqualTo(String value) {
            addCriterion("alimentation <>", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationGreaterThan(String value) {
            addCriterion("alimentation >", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationGreaterThanOrEqualTo(String value) {
            addCriterion("alimentation >=", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationLessThan(String value) {
            addCriterion("alimentation <", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationLessThanOrEqualTo(String value) {
            addCriterion("alimentation <=", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationLike(String value) {
            addCriterion("alimentation like", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationNotLike(String value) {
            addCriterion("alimentation not like", value, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationIn(List<String> values) {
            addCriterion("alimentation in", values, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationNotIn(List<String> values) {
            addCriterion("alimentation not in", values, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationBetween(String value1, String value2) {
            addCriterion("alimentation between", value1, value2, "alimentation");
            return (Criteria) this;
        }

        public Criteria andAlimentationNotBetween(String value1, String value2) {
            addCriterion("alimentation not between", value1, value2, "alimentation");
            return (Criteria) this;
        }

        public Criteria andFuelLabelIsNull() {
            addCriterion("fuel_label is null");
            return (Criteria) this;
        }

        public Criteria andFuelLabelIsNotNull() {
            addCriterion("fuel_label is not null");
            return (Criteria) this;
        }

        public Criteria andFuelLabelEqualTo(String value) {
            addCriterion("fuel_label =", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelNotEqualTo(String value) {
            addCriterion("fuel_label <>", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelGreaterThan(String value) {
            addCriterion("fuel_label >", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelGreaterThanOrEqualTo(String value) {
            addCriterion("fuel_label >=", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelLessThan(String value) {
            addCriterion("fuel_label <", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelLessThanOrEqualTo(String value) {
            addCriterion("fuel_label <=", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelLike(String value) {
            addCriterion("fuel_label like", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelNotLike(String value) {
            addCriterion("fuel_label not like", value, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelIn(List<String> values) {
            addCriterion("fuel_label in", values, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelNotIn(List<String> values) {
            addCriterion("fuel_label not in", values, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelBetween(String value1, String value2) {
            addCriterion("fuel_label between", value1, value2, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andFuelLabelNotBetween(String value1, String value2) {
            addCriterion("fuel_label not between", value1, value2, "fuelLabel");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopIsNull() {
            addCriterion("engine_open_stop is null");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopIsNotNull() {
            addCriterion("engine_open_stop is not null");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopEqualTo(String value) {
            addCriterion("engine_open_stop =", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopNotEqualTo(String value) {
            addCriterion("engine_open_stop <>", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopGreaterThan(String value) {
            addCriterion("engine_open_stop >", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopGreaterThanOrEqualTo(String value) {
            addCriterion("engine_open_stop >=", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopLessThan(String value) {
            addCriterion("engine_open_stop <", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopLessThanOrEqualTo(String value) {
            addCriterion("engine_open_stop <=", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopLike(String value) {
            addCriterion("engine_open_stop like", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopNotLike(String value) {
            addCriterion("engine_open_stop not like", value, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopIn(List<String> values) {
            addCriterion("engine_open_stop in", values, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopNotIn(List<String> values) {
            addCriterion("engine_open_stop not in", values, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopBetween(String value1, String value2) {
            addCriterion("engine_open_stop between", value1, value2, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andEngineOpenStopNotBetween(String value1, String value2) {
            addCriterion("engine_open_stop not between", value1, value2, "engineOpenStop");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeIsNull() {
            addCriterion("transmission_type is null");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeIsNotNull() {
            addCriterion("transmission_type is not null");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeEqualTo(String value) {
            addCriterion("transmission_type =", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeNotEqualTo(String value) {
            addCriterion("transmission_type <>", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeGreaterThan(String value) {
            addCriterion("transmission_type >", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeGreaterThanOrEqualTo(String value) {
            addCriterion("transmission_type >=", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeLessThan(String value) {
            addCriterion("transmission_type <", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeLessThanOrEqualTo(String value) {
            addCriterion("transmission_type <=", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeLike(String value) {
            addCriterion("transmission_type like", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeNotLike(String value) {
            addCriterion("transmission_type not like", value, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeIn(List<String> values) {
            addCriterion("transmission_type in", values, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeNotIn(List<String> values) {
            addCriterion("transmission_type not in", values, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeBetween(String value1, String value2) {
            addCriterion("transmission_type between", value1, value2, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andTransmissionTypeNotBetween(String value1, String value2) {
            addCriterion("transmission_type not between", value1, value2, "transmissionType");
            return (Criteria) this;
        }

        public Criteria andGearsNumberIsNull() {
            addCriterion("gears_number is null");
            return (Criteria) this;
        }

        public Criteria andGearsNumberIsNotNull() {
            addCriterion("gears_number is not null");
            return (Criteria) this;
        }

        public Criteria andGearsNumberEqualTo(Integer value) {
            addCriterion("gears_number =", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberNotEqualTo(Integer value) {
            addCriterion("gears_number <>", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberGreaterThan(Integer value) {
            addCriterion("gears_number >", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("gears_number >=", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberLessThan(Integer value) {
            addCriterion("gears_number <", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberLessThanOrEqualTo(Integer value) {
            addCriterion("gears_number <=", value, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberIn(List<Integer> values) {
            addCriterion("gears_number in", values, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberNotIn(List<Integer> values) {
            addCriterion("gears_number not in", values, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberBetween(Integer value1, Integer value2) {
            addCriterion("gears_number between", value1, value2, "gearsNumber");
            return (Criteria) this;
        }

        public Criteria andGearsNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("gears_number not between", value1, value2, "gearsNumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}